<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><?php $SITES = getcache('sitelist','commons'); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="">
<meta name="description" content="">
<title>{$SITES[$siteid]['name']}</title>
<link type="text/css" rel="stylesheet" href="{CSS_PATH}style.css" />

<script type="text/javascript" src="{JS_PATH}jquery.js"></script>
<script type="text/javascript" src="{JS_PATH}scrolltopcontrol.js"></script>

</head>

<body>
<div class="top">
    	<a href="/" target="_self"><h1><script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=11"></script></h1></a>
    	<div class="center">
        	<div class="top_s"><a href="#">{GGAO_PATH}</a></div>
			<div class="top_x">
            	<input type="text" id="sousuo" placeholder="품번검색:" /><span id="search">search</span>
            </div>
        </div>
        <a href="javascript:;" id="dbright"><div class="right"><script language="javascript" src="{APP_PATH}index.php?m=poster&c=index&a=show_poster&id=12"></script></div></a>
</div>
<div class="nav">
	{pc:content action="category" catid="0" siteid="$siteid" order="listorder ASC"}
	{loop $data $r}
		<a href="javascript:;" id="nav_{$r[catid]}" class="sdfdsfds" onclick="cli('{$r[catid]}');" target="_self"><dl><dt><b>{$r[catname]}</b></dt><dd><b>{$r[description]}</b></dd></dl></a>
	{/loop}
	{/pc} 
</div>
 
<div class="fen">
{pc:content action="category" catid="0" siteid="$siteid" order="listorder ASC"}
	{loop $data $r}
	<ul id="ul_{$r[catid]}">
		{pc:content action="category" siteid="$siteid" catid="$r[catid]" num="8"  order="listorder ASC"}
		{loop $data $z}
    	<li id="fen_{$z[catid]}"><a href="javascript:;" onclick="cli('{$z[catid]}');" target="_self">{$z[catname]}</a></li>
    	{/loop}
		{/pc}
    </ul>
	{/loop}
{/pc}
</div>

<input type="hidden" id="hidden" value="<?php if(isset($k)){echo $k;}else{echo '10';}?>"> 
<script type="text/javascript">
var $_GET = (function(){
    var url = window.document.location.href.toString();
    var u = url.split("?");
    if(typeof(u[1]) == "string"){
        u = u[1].split("&");
        var get = {};
        for(var i in u){
            var j = u[i].split("=");
            get[j[0]] = j[1]; 
        }
        return get;
    } else {
        return {};
    }
})();

	var $div_li = $(".nav a");
	if($_GET['f']){
		var get = '#nav_'+$_GET['f'];
		$(get).addClass('cur');
		$("#ul_"+$_GET['f']).show().siblings().hide();
		if(!$_GET['z']){	
			$("#ul_"+$_GET['f']+" > li").eq(0).addClass('cur');
		}else{
			$("#fen_"+$_GET['z']).addClass('cur');
		}
	}else{
		$div_li.eq(0).addClass('cur');
		$(".fen > ul").eq(0).show().siblings().hide();
	}

	$(".nav a").click(function(){
		var index = $div_li.index(this);
		$(this).addClass('cur').siblings().removeClass('cur');
		$(".fen > ul").eq(index).show().siblings().hide();
		$(".fen > ul").eq(index).children().eq(0).addClass('cur').siblings().removeClass('cur');
		
	});
	$(".fen > ul > li").click(function(){
		var index = $div_li.index(this);
		$(this).addClass('cur').siblings().removeClass('cur');	
	});
	
</script>











